package com.guyu.app.common.enums.error;

import com.guyu.app.common.enums.BizCodeEnum;
import com.guyu.common.core.exception.code.IErrorCode;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum OtherErrorCodeEnum implements IErrorCode {
    PASSWORD_ERROR(10000, "请输入正确的密码"),
    PHONE_NUMBER_IS_INCORRECT(10001, "请输入正确的手机号码"),
    SMS_CAPTCHA_ERROR(10002, "请输入正确的验证码"),
    SMS_ERROR(10003, "短信错误"),
    EMAIL_ERROR(10004, "邮箱格式不正确"),


    ;

    private final Integer code;
    private final String message;

    @Override
    public String getBizCode() {
        return BizCodeEnum.OT.name();
    }
}
